Skip to content

Metadata 4.7 updates for orcid_client#41

Merged
svogt0511 merged 6 commits intomasterfrom
metadata-47
Feb 20, 2026
Merged

Metadata 4.7 updates for orcid_client#41
svogt0511 merged 6 commits intomasterfrom
metadata-47

Conversation

@svogt0511
Copy link
Contributor

@svogt0511 svogt0511 commented Feb 19, 2026

Purpose

Changes to lupo as required for the Metadata 4.7 release, described in the document at the link, below.

Metadata Schema Release 4.7 - Product Spec

closes: Add github issue that originated this PR

Approach

Open Questions and Pre-Merge TODOs

Apparently orcid_client is incompatible with less than ruby 3.1. Does this need to be announced somewhere?

image

Learning

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to change)

Reviewer, please remember our guidelines:

  • Be humble in the language and feedback you give, ask don't tell.
  • Consider using positive language as opposed to neutral when offering feedback. This is to avoid the negative bias that can occur with neutral language appearing negative.
  • Offer suggestions on how to improve code e.g. simplification or expanding clarity.
  • Ensure you give reasons for the changes you are proposing.

'conference-paper'
when /^(poster|Conference poster)$/i
'conference-poster'
when /^(presentation|Conference presentation)$/i
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm remembering correctly, this section of the code attempts to match free-text resourceType values to ORCID work types. If a resourceType contains only "poster" or "presentation", should we assume that the work is a conference poster or conference presentation? A question for @KellyStathis , I think.

Noting that this only would trigger when resourceTypeGeneral is "Text".

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For resourceTypeGeneral "Poster" and "Presentation", we are mapping these to "conference poster" and "conference presentation" in ORCID.

When resourceTypeGeneral is "Text", it looks like we already had the mapping for "poster" or "conference presentation" to "conference presentation" in ORCID. Since we have this in place already, it makes sense for me to also have the equivalent for "presentation" and "conference presentation".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! My hesitation with adding the resourceType "presentation" -> ORCID "conference-presentation" mapping is because not all presentations are necessarily conference presentations. We could remove resourceType "presentation" -> ORCID "conference-presentation" and resourceType "poster" -> ORCID "conference-poster", but happy to continue supporting both if that makes sense to you. I doubt this affects that many record regardless.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Though since this is the same mapping we're using at the resourceTypeGeneral level, the same concern could apply there. We deliberately used a similar definition to ORCID's (which comes from the COAR work types) but scoped to not be specific to conferences.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if we need changes because of this. I merged this pull request a minute ago.

@svogt0511 svogt0511 self-assigned this Feb 20, 2026
@svogt0511 svogt0511 merged commit 001eede into master Feb 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants